home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / dtime / data.1 / dtsetDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-08  |  1.3 KB  |  55 lines

  1. // dtsetDlg.h : header file
  2. //
  3.  
  4. #include "dtime.h"
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CDTSetDlg dialog
  8.  
  9. class CDTSetDlg : public CDialog
  10. {
  11. // Construction
  12. public:
  13.     CDTSetDlg(CWnd* pParent = NULL);    // standard constructor
  14.  
  15.   void LoadSettings();
  16.   void SaveSettings();
  17.  
  18. // Dialog Data
  19.     //{{AFX_DATA(CDTSetDlg)
  20.     enum { IDD = IDD_DTSET };
  21.     //}}AFX_DATA
  22.  
  23.     // ClassWizard generated virtual function overrides
  24.     //{{AFX_VIRTUAL(CDTSetDlg)
  25.     protected:
  26.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  27.     //}}AFX_VIRTUAL
  28.  
  29. // Implementation
  30. protected:
  31.     HICON m_hIcon;
  32.  
  33.   CDateControl m_ctrlJulianEnd;
  34.   CDateControl m_ctrlGregorianBegin;
  35.   CDate m_JulianEnd;
  36.   CDate m_GregorianBegin;
  37.   int m_BeginDayOfWeek;
  38.   CString m_sCDateFormat;
  39.   CString m_sCLDateFormat;
  40.   CString m_sCLTimeSpanFormat;
  41.   CString m_sCLTimeOfDayFormat;
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CDTSetDlg)
  45.     virtual BOOL OnInitDialog();
  46.     afx_msg void OnPaint();
  47.     afx_msg HCURSOR OnQueryDragIcon();
  48.     afx_msg void OnChangeCDateFormat();
  49.     afx_msg void OnChangeCLDateFormat();
  50.     afx_msg void OnChangeCLTimeOfDayFormat();
  51.     afx_msg void OnChangeCLTimeSpanFormat();
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.